package edu.kit.aifb.evtcrawl;

public class LoadingThread extends Thread{
	public LoadingThread(String message){
		this.message = message;
	}
	String message;
	public boolean run = true;
	public void stopRun(){run =false;}
	public void run(){
		System.out.print(message);
		while(run){
			System.out.print(".");
			try {
				Thread.sleep(400);
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}
		System.out.println("complete");
	}
}